<?php use_stylesheet('jobs.css') ?>

<div id="job">
  <h1><?php echo "R&eacute;sultat pour le produit recherch&eacute; : ".$keywords ?></h1>
  
  <table class="jobs">
  <?php foreach ($results as $i => $result):?>
    <tr class="<?php echo fmod($i, 2) ? 'even' : 'odd' ?>">
    	 <td class="location">
    	 	<a href="<?php echo url_for('product_show_user', $result) ?>">
  				<?php echo $result->getNom() ?></a>
  		 </td>
  		 <td class="position">
  		 	<a href="<?php echo url_for('product_show_user', $result) ?>">
    			<img src="/uploads/product/<?php echo $result->getUrlImage() ?>"
    			alt="<?php echo $result->getNom() ?> logo" height=75 /></a>
    	</td>
    </tr>
  <?php endforeach;?>
  </table>
</div>